package com.studentmanager.mapper;

import com.studentmanager.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityMapper {
    List<Activity> getactivityById(List<Integer> ids);

    int addactivity(Activity activity);

    int editActivity(Activity activity);

    Integer queryCount(Map<String, Object> paramMap);

    List<Activity> queryList(Map<String, Object> paramMap);

    int deleteactivitybyid(List<Integer> ids);
    Integer getStatusById(Integer id);

    // 更新指定活动的状态

    int updateStatusById( Integer id,  Integer status);
}
